import Vue from "vue";

import App from "./App";
import router from "./router/index";

import "client/style/index.css";

console.log(process.env.NODE_ENV);

import 'windi.css';

Vue.config.productionTip = false;
let app = new Vue({
    el: "#app",
    router,
    template: "<App/>",
    components: { App }
});

window.app = app;

window.scrollTop = function() {
    return document.documentElement.scrollTop || document.body.scrollTop || window.pageYOffset || 0;
}
